﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Mobile.Web.DataAccess
{
    public class CarDataAccess
    {
        public static List<Car> GetCars()
        {
            List<Car> cars = new List<Car>();
            Car car = new Car("/Images/flag_germany.png", "Audi", 5,"Germany");
            Car car1 = new Car("/Images/flag_germany.png", "BMW", 2, "Germany");
            Car car2 = new Car("/Images/flag_france.png", "Citroen", 2, "France");
            Car car3 = new Car("/Images/flag_usa.png", "Ford", 3, "USA");
            Car car4 = new Car("/Images/flag_usa.png", "GMC", 4, "USA");
            Car car5 = new Car("/Images/flag_usa.png", "Jeep", 3, "USA");
            Car car6 = new Car("/Images/flag_germany.png", "Mini", 2, "Germany");
            Car car7 = new Car("/Images/flag_germany.png", "Volkswagen", 14, "Germany");
            cars.Add(car);
            cars.Add(car1);
            cars.Add(car2);
            cars.Add(car3);
            cars.Add(car4);
            cars.Add(car5);
            cars.Add(car6);
            cars.Add(car7);
            return cars;
        } 
    }
}